package com.aaa.entity;


/**
 * 订单实体类
 **/
public class Order {
    /**
     * id
     */
    private Integer id;

    private Integer orderId;

    private Integer cardId;

    private Integer cardType;

    private Double price;

    private Double pay;

    private Integer credit;

    private String createdTime;

    private Integer status;

    private String momo;

    public String getMomo() {
        return momo;
    }

    public void setMomo(String momo) {
        this.momo = momo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPay() {
        return pay;
    }

    public void setPay(Double pay) {
        this.pay = pay;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", cardId=" + cardId +
                ", cardType=" + cardType +
                ", price=" + price +
                ", pay=" + pay +
                ", credit=" + credit +
                ", createdTime='" + createdTime + '\'' +
                ", status=" + status +
                ", momo='" + momo + '\'' +
                '}';
    }
}
